#pragma once
#include "uicomoncontrols.h"

class CCheckBoxUI :
	public CButtonUI
{
public:
	CCheckBoxUI(void);
public:
	LPCTSTR GetClass() const;
    LPVOID GetInterface(LPCTSTR pstrName);

protected:
	BOOL		m_bChecked;
	CStdString	m_sCheckedImage;
    CStdString	m_sUnCheckedImage;
	CStdString	m_sCheckDisableImage;

public:
	void Event(TEventUI& event);
	void DoPaint(HDC hDC, const RECT& rcPaint);
	void SetAttribute(LPCTSTR pstrName, LPCTSTR pstrValue);
};
